core: ofnode: Add ofnode_get_addr_size_index
authorKeerthy <[email protected]>
Wed, 24 Apr 2019 11:49:53 +0000 (17:19 +0530)
committerSimon Glass <[email protected]>
Tue, 21 May 2019 23:33:23 +0000 (17:33 -0600)
commite679d03b08fbde6145fdef150f4b240e6d14448e
treeddf7cfd6ca72591254ec9c651b22cad93db90a4d
parent3a9a62a18e57b1ed3adbe3a3d00b9793ec55c08f
core: ofnode: Add ofnode_get_addr_size_index

Add ofnode_get_addr_size_index function to fetch the address
and size of the reg space based on index.

Signed-off-by: Keerthy <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/core/ofnode.c
include/dm/ofnode.h